import Link from "next/link";

type LayoutProps = {
  children: React.ReactNode;
};

export default function Layout({ children }: LayoutProps) {
  return (
    <div className="layout">
      <div className="head-wrap">
        <div className="left">
          <Link href="/" className="logo">
            LIVE
          </Link>
          <div className="nav"></div>
        </div>
        <div className="search">
          <input className="ipt" type="text" placeholder="搜尋" />
        </div>
        <div className="right">
          <Link href="/webrtc-push" className="start ani">
            開始直播
          </Link>
        </div>
      </div>
      {children}
    </div>
  );
}
